package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Salary;
import cn.wolfcode.crm.query.QueryForObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ISalaryService {
    void deleteByPrimaryKey(Long id);

    void insert(Salary record);

    Salary selectByPrimaryKey(Long id);

    List<Salary> selectAll();

    void updateByPrimaryKey(Salary record);

    List<Salary> queryByEmpId(Long id);

    PageResult query(QueryForObject qo);

    Salary queryEmpSalaryByEmpId(Long empId);
}
